Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make random() iterable #24

Merged
merged 5 commits into from
Feb 29, 2024
Merged

Make random() iterable #24

merged 5 commits into from
Feb 29, 2024

Conversation

Richienb
Copy link
Contributor

@Richienb Richienb commented Feb 28, 2024

Request for comment

Fixes #7

@sindresorhus
Copy link
Owner

Good idea 👍

@Richienb Richienb marked this pull request as ready for review February 28, 2024 20:26
import chalk from 'chalk';
import inRange from 'in-range';

export default function assertInRange(t, value, {start = 0, end}) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -11,7 +11,6 @@ jobs:
matrix:
node-version:
- 14
- 12
Copy link
Contributor Author

@Richienb Richienb Feb 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updating tsd past the version that supports Node.js 12 fixes a problem, which for me, causes it to find and display type errors in @types/node

@sindresorhus sindresorhus merged commit d1b1c67 into sindresorhus:main Feb 29, 2024
1 check passed
@sindresorhus
Copy link
Owner

Thanks :)

@sindresorhus
Copy link
Owner

@Richienb Ready to release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add generator method
2 participants